package com.taxi.driver.module.vo;

import com.alibaba.fastjson.JSON;
import com.taxi.driver.data.entity.ComplainEntity;

/**
 * 功能描述：投诉标签
 */
public class ComplainVO {

    public static ComplainVO createFrom(ComplainEntity entity) {
        if (entity == null) return new ComplainVO();
        String strJson = JSON.toJSONString(entity);
        return JSON.parseObject(strJson, ComplainVO.class);
    }

    public ComplainVO() {
    }

    public ComplainVO(String tagName) {
        this.tagName = tagName;
    }

    public String uuid;
    public String tagName;

}
